<template>
  <div>
    <div>
      <el-button type="primary">主要按钮</el-button>
      <el-table :data="application" style="width: 100%">
        <el-table-column prop="id" label="编号" width="180">
        </el-table-column>
        <el-table-column prop="title" label="标题" width="180">
        </el-table-column>
        <el-table-column prop="brief" label="简介" width="180">
        </el-table-column>
        <el-table-column prop="content" label="主要内容"> </el-table-column>
        <el-table-column prop="publish_time" label="发布时间"> </el-table-column>
      </el-table>
    </div>
  </div>
</template>

<script>
import { get } from "@/utils/request";
export default {
  data() {
    return {
      application: [],
      visible: false
    };
  },
  methods: {
    loadApplication() {
      let url = "http://120.77.41.127:8888/article/query";
      get(url).then(resp => {
        this.application = resp.data;
      });
    }
  },
  created() {
    this.loadApplication();
  }
};
</script>

<style lang="sass" scoped>

</style>